8 interesting facts about python programming language [2022]

 8 Interesting facts about python programming language you should know

Image of python code in dark theme code editor

Python is one of the most popular and easiest programming language nowadays, it is designed to make writing more readable code easier and faster with simple syntax, and the best thing is that you don’t need to write so many lines of code to do things, less than 100 lines of code can make you a simple program done in python unlike other programming languages.

Without further ado, in this blog I am going to share with you guys 5 interesting facts about the python programming language… Let’s go!


1-Code editor in python:

Usually when you are going to start a new programming language you install it’s dependencies and set it up with a code editor like Visual studio, Atom or any code editor you like, sometimes this can be a little bit hard and confusing for a beginner, i was that guy that couldn’t set up python for visual studio lol, but with python, once you install python x.x.x.exe (x.x.x = version) it comes with a simple easy to use code editor, you won’t need to look in the internet for a good code editor then try to set it up to work with python, of course for an advanced programmer it’s worth it, because the code editor that come with python doesn't have a lot of features like auto-complete and so much more, but for just a beginner the code editor that already come with python is more than enough to get started.

Now let’s go to the second python programming language fact!


2-Big companies use python:

Image of google company

Python is not just an easy programming language and beginner friendly that the most newcomers to programming choose.

Python is used by so many big companies as big as NASA! Yes NASA uses python! 

Moreover google heavily uses python, google uses python as much as they can, and they only use C++ where they can’t use python, because python enables them to enjoy ease of maintenance and fast delivery. A large part of  YouTube is written by python.

In addition to so many more massive companies like Facebook, Netflix, IBM, Spotify and so many more.

Now let’s jump to the third fact about python.



3-Python is one of the slowest programming languages:


This is one of the worst python facts, But as anything in the world has its advantages and it’s disadvantages. Python is one of the slowest programming languages. It's from 2-10x slower than other programming languages.

In python you spend less time coding your program but your program will take more time on run. On the other hand in other programming languages like Java, C, C++ you spend a lot more time writing your program but your program will run fast .

Python is slow because it's a dynamically typed language, that means in python you don’t have to state the type of the variable when you are defining it unlike C, C++ and Java that follow strict variable declaration. In python the variable type is stated in the runtime.

Now let’s move to the fourth fact about python.


4-Python is named from a british comedy series from the 70s:

This python programming language fact is a little bit more odd then the others! Python with the logo of two snakes is named after “Monty Python's Flying Circus” which is a british comedy series from the 70s.

The creator of python Guido van Rossum wanted a mysterious, unique and short name to name his programming language, so he named it python.

Now we are about to get to the fifth interesting fact about python!



5-Python manages memory automatically:

A lot of people don't know about this fact, especially the ones that Python is their first language because they didn’t even hear about memory management in the first place. So if you don’t know what memory management is, It is allocating a block of computer memory to a program.

Unlike C, in Python you don't’ have to deal with memory management manually when you write code using the language, Python memory manager will automatically manage the memory for you, that basically means you don’t have to allocate memory to every variable you define and then deallocate that memory after you finish using that variable.

Fact number 6!


6-Kids learn python:

Image of a mother teaching her child in the computer

This is another unique fact about the python programming language!

Python is as easy as a kid can learn it. That's why there are a lot of python books that are specifically designed to teach kids python programming language, and one of the most famous books in this topic is ‘Python for Kids: A Playful Introduction To Programming’.

Python can benefit kids by making them able to visualize math concepts in an interactive fun way when they write python code and it develops their critical thinking .



7-Python is not really suitable for game development:

100% of AAA games aren’t made using python they are made with C++.

Video games nowadays are resource demanding they consume a lot of computer memory and processing power but the goal of every video game developer is to make his game as less resdource demanding as possible, to be able to release his game in all platforms including consoles which have limited computing power then computers, even with that it’s still important for him to make his game not very resource demanding because not everybody is rich enough to buy a high end computer and run his game.

So python sucks at doing that because python is slow compared to C++ which is used for game development .

Imagine playing a video game written in python that takes 50 times as much time to load as your current games and run slowly, because that’s how slow python is in video games.

Now let’s finish this blog with the last fact about python which may look contradicting to this fact but continue reading to understand!



8-Python is used for game development:

I know that this fact is completely contradictory to the one that came before it but hold on!

Although python is not a great language for programming video games it still has a lot of libraries like Pygame that make game development possible with python.

They use these libraries to make simple and prototype games that are not very resource demanding like huge games such as Assassin’s creed series, GTA and so on…




Conclusion:

Now with combining these 8 python programming language facts we know that python can get you started writing code fast with it’s code editor, Python is used by big companies as Google, Facebook and NASA…, Python is slow language because it’s dynamically typed language, Python is names after a british comedy series, Python manages memory automatically you don’t need to allocate and deallocate memory to your program, Python is easy to learn that there are books to teach kids to learn it, Python is not suitable for game development because it’s slow but it’s used for making simple game by some people thanks to its libraries.


Comments

Popular posts from this blog

How to start learning programming from absolutely zero knowledge[2022]

Is programming boring ?

Tips for building a successful tech startup